package com.sj.purchase.modules.cost.views;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author: songkaizong
 * 18-1-9 下午6:02
 */
public class VProfit {
    private String shopName;
    private int orderNum;
    private int increase;
    private double profit;//按串码算的利润
    private double avgProfit;//串码 平均利润
    private double avgProfitIncrease;//串码 平均利润增长
    private double avgPriceProfit;//按平均价算的利润
    private double avgPriceAvgProfit;//平均价平均利润
    private double avgPriceProfitIncrease;//平均价利润增长
    private int imeiNum;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date day;

    public VProfit() {
    }

    public VProfit(String shopName, int orderNum, int increase, double profit, double avgProfit,
                   double avgProfitIncrease, int imeiNum, Date day) {
        this.shopName = shopName;
        this.orderNum = orderNum;
        this.increase = increase;
        this.profit = profit;
        this.avgProfit = avgProfit;
        this.avgProfitIncrease = avgProfitIncrease;
        this.imeiNum = imeiNum;
        this.day = day;
    }

    public String getShopName() {
        return shopName;
    }

    public VProfit setShopName(String shopName) {
        this.shopName = shopName;
        return this;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public VProfit setOrderNum(int orderNum) {
        this.orderNum = orderNum;
        return this;
    }

    public int getIncrease() {
        return increase;
    }

    public VProfit setIncrease(int increase) {
        this.increase = increase;
        return this;
    }

    public double getProfit() {
        return profit;
    }

    public VProfit setProfit(double profit) {
        this.profit = profit;
        return this;
    }

    public double getAvgProfit() {
        return avgProfit;
    }

    public VProfit setAvgProfit(double avgProfit) {
        this.avgProfit = avgProfit;
        return this;
    }

    public double getAvgProfitIncrease() {
        return avgProfitIncrease;
    }

    public VProfit setAvgProfitIncrease(double avgProfitIncrease) {
        this.avgProfitIncrease = avgProfitIncrease;
        return this;
    }

    public Date getDay() {
        return day;
    }

    public VProfit setDay(Date day) {
        this.day = day;
        return this;
    }

    public int getImeiNum() {
        return imeiNum;
    }

    public void setImeiNum(int imeiNum) {
        this.imeiNum = imeiNum;
    }

    public double getAvgPriceAvgProfit() {
        return avgPriceAvgProfit;
    }

    public void setAvgPriceAvgProfit(double avgPriceAvgProfit) {
        this.avgPriceAvgProfit = avgPriceAvgProfit;
    }

    public double getAvgPriceProfitIncrease() {
        return avgPriceProfitIncrease;
    }

    public void setAvgPriceProfitIncrease(double avgPriceProfitIncrease) {
        this.avgPriceProfitIncrease = avgPriceProfitIncrease;
    }

    public double getAvgPriceProfit() {
        return avgPriceProfit;
    }

    public void setAvgPriceProfit(double avgPriceProfit) {
        this.avgPriceProfit = avgPriceProfit;
    }
}
